import {RouterModule, Routes} from "@angular/router";
import {NgModule} from "@angular/core";
import {CommunicationComponent} from "./communication.component";
import {ChineseStudentComponent} from "./chinese-student/chinese-student.component";
import {JapanStudentComponent} from "./japan-student/japan-student.component";

const routes: Routes = [
  {
    path: "",
    children: [
      {
        path: "", component: CommunicationComponent, children: [
          {path: "err", component: ChineseStudentComponent},
          {path: "err2", component: JapanStudentComponent}
        ]
      },
    ]
  }];

@NgModule({
  imports: [RouterModule.forChild(routes)],
  exports: [RouterModule]
})
export class CommunicationRoutingModule {

}
